<?php
/**
 * XIE--Scorpion
 *
 * 网站配置
 * 
 */
namespace App\Models\Admin;

use DB,Session,Redirect;
use Illuminate\Database\Eloquent\Model;

class Config extends Model
{
    
    protected $table = 'config';
    public $timestamps = false;

    /*
     *友情链接
     */
    static function links()
    {
    	$links=DB::table('friendshiplink')->paginate(7);

    	return $links;

    }
}